import csv
import os


def load_data():
    '准备csv参数化需要的数据'
    my_list = []
    file_path = os.path.abspath('data/account_data.csv')
    file = open(file_path,encoding='utf-8')
    reader = csv.reader(file)
    for i in reader:
        my_tuple = (i[0],i[1])
        my_list.append(my_tuple)
    file.close()
    return my_list

